<?php $followers = $user->getFollowers() ?>  
<?php $following = $user->getFollowing() ?>  
<ol id="sections">
    <li class="section">
        <div class="dp-content">
            <div id="left-block">
                <h3 class="question-title">My network</h3>
                <div id="profile-header" class="account-header">
                    <ul class="tabs">
                        <li class="active">
                            <a href="javascript:;" tab="profile-followers">Followers (<?php echo $followers->count() ?>)</a>				
                        </li>  
                        <li>
                            <a href="javascript:;" tab="profile-following">Following (<?php echo $following->count() ?>)</a>				
                        </li>
                        <li>
                            <a href="javascript:;" tab="profile-requests">Requests (0)</a>				
                        </li>
                    </ul>			
                </div>                    
                <div id="profile-followers" class="profile-body-left">
                    <div class="profile-row">
                        <?php include_partial("connection/member_followers", array("connections" => $followers)) ?>  
                    </div>
                </div>
                <div id="profile-following" class="profile-body-left hide">
                    <div class="profile-row">
                        <?php include_partial("connection/member_following", array("connections" => $following)) ?>
                    </div>
                </div>
                <div id="profile-requests" class="profile-body-left hide">
                    <div class="profile-row">                            
                        <?php //include_partial("profile/activity_logs", array("activityLogs" => $user->getActivityLogs())) ?>
                    </div>
                </div>                
            </div>
            <div id="right-block">
                <?php if ($user->getType() == 'Member'): ?>
                    <?php include_component("profile", "rightBlock") ?>
                <?php else: ?>
                    <div id="doctor-recent-top-answers">
                        <h3 id="recent-top-answers" class="grey-bg-title">Recent top answers</h3>      
                        <?php include_partial("answer/recent", array("answers" => $user->getDoctor()->getRecentAnswers())) ?>
                    </div>
                <?php endif; ?>
            </div>
        </div>
    </li>
</ol>